#import <UIKit/UIkit.h>
#import "BLEDevice.h"

extern NSString * const     BLEHealthNotification;		//健康设备更新值通知

@class BLEHealth;

@protocol BLEHealthDelegate <BLEDeviceDelegate>
@optional

- (void)device:(BLEHealth *)device didUpdateHeartrate:(int)heartrate;

@end

/*=============================================================
 健康设备类
 ============================================================*/
@interface BLEHealth : BLEDevice <BLEDeviceProtocol>

@property (nonatomic, assign) id<BLEHealthDelegate>		delegate;

@property (nonatomic, readonly) int		heartrate;		//当前心率值

@end
